import request from '@/utils/request'

// 添加商品
export function addCommodity(data) {
  return request({
    url: 'api/add-commodity',
    method: 'post',
    data: data
  })
}

// 添加产品
export function addCardCommodity(data) {
  return request({
    url: 'api/add-card-commodity',
    method: 'post',
    data: data
  })
}
